getEndTime

abstract fun getEndTime(): Date

Gets the end time of day for this schedule's active period.

The schedule is active up to, but typically not including, this time of day. The date components (year, month, day) of this Date object are generally ignored; only the time portion is considered. For example, an end time of 17:00:00 means it's active until 16:59:59.

Return

A Date representing the time of day (e.g., 17:00:00) when the schedule ceases to be active. Can be null if the schedule is active until the end of the day (23:59:59).